home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / emula / arosdv19.lha / AROS / intuition / setdefaultpubscreen.c < prev    next >
C/C++ Source or Header  |  1996-10-24  |  1KB  |  69 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: setdefaultpubscreen.c,v 1.2 1996/10/24 15:51:24 aros Exp $
  4.     $Log: setdefaultpubscreen.c,v $
  5.     Revision 1.2  1996/10/24 15:51:24  aros
  6.     Use the official AROS macros over the __AROS versions.
  7.  
  8.     Revision 1.1  1996/09/21 15:48:48  digulla
  9.     New functions to handle Public Screens
  10.  
  11.  
  12.     Desc:
  13.     Lang: english
  14. */
  15. #include "intuition_intern.h"
  16.  
  17. /*****************************************************************************
  18.  
  19.     NAME */
  20.     #include <clib/intuition_protos.h>
  21.  
  22.     AROS_LH1(void, SetDefaultPubScreen,
  23.  
  24. /*  SYNOPSIS */
  25.     AROS_LHA(UBYTE *, name, A0),
  26.  
  27. /*  LOCATION */
  28.     struct IntuitionBase *, IntuitionBase, 90, Intuition)
  29.  
  30. /*  FUNCTION
  31.  
  32.     INPUTS
  33.  
  34.     RESULT
  35.  
  36.     NOTES
  37.  
  38.     EXAMPLE
  39.  
  40.     BUGS
  41.  
  42.     SEE ALSO
  43.  
  44.     INTERNALS
  45.  
  46.     HISTORY
  47.     29-10-95    digulla automatically created from
  48.                 intuition_lib.fd and clib/intuition_protos.h
  49.  
  50. *****************************************************************************/
  51. {
  52.     AROS_LIBFUNC_INIT
  53.     AROS_LIBBASE_EXT_DECL(struct IntuitionBase *,IntuitionBase)
  54. /*
  55.     struct PubScreenNode * pscreen;
  56.  
  57.     if ((pscreen = (struct PubScreenNode *)FindName (
  58.         &(GetPrivIBase(IntuitionBase)->PublicScreenList)
  59.     )
  60.     ))
  61.     {
  62.     GetPrivIBase(IntuitionBase)->DefaultPublicScreen =
  63.         pscreen->psn_Screen;
  64.     }
  65. */
  66.  
  67.     AROS_LIBFUNC_EXIT
  68. } /* SetDefaultPubScreen */
  69.